package com.cchc.k8s.config;

/**
 * file：ResultCode.java
 * description:返回结果枚举
 * date: 2021-09-18 09:10
 * author: wenrui
 * version: 1.0
 */
public enum ResultCode {
    SUCCESS("200", "操作成功"),
    FAILED("500", "系统繁忙，请稍后再试"),
    VALIDATE_FAILED("","参数验证失败"),
    ;

    private String code;
    private String msg;

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

    ResultCode(final String code, final String msg) {
        this.code = code;
        this.msg = msg;
    }
}